text JS屬性 語法


Posted by mijouhsieh on 2023-03-15

字串不是空白
string.trim().length > 0

輸入框節點內的值
input.value


#text-js-property-syntax #trim







Related Posts

React-[入門篇]- 條件渲染: 三元運算子 |&& |return

React-[入門篇]- 條件渲染: 三元運算子 |&& |return

Explore-Arrays 101

Explore-Arrays 101

Semantic segmentation 簡介

Semantic segmentation 簡介


Comments